<?php

//$pro_name = $_GET['search_name'];
if(!empty($_POST))
{
	$search_name = $_POST['search_name'];
	$searchs = "name='".$search_name."'";
	$search_pro = selectAll('product',$searchs);

	if(!empty($search_pro))
	{
		include('app/admin/product/html/search.html');
		die;
	}else
	{
		echo '查找失败';
		header('Refresh:1;index.php?a=admin&b=product&c=index');
		die;
	}

}

include 'app/admin/product/html/index.html';



?>